/*
 * @Author: Y先森
 * @Date: 2023-04-12 11:09:23
 * @LastEditors: y && 250048395@qq.com
 * @LastEditTime: 2023-04-12 11:09:23
 * @FilePath: \y-website\src\utils\validate.js
 */
export function isExternal(path) {
  const isExternal = /^(https?:|http?:|mailto:|tel:)/.test(path)
  return isExternal
}
